﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/Admincp.Master" AutoEventWireup="true" CodeBehind="ThemTuyenVanChuyen.aspx.cs" Inherits="Moving03.Administrator.WebForm14" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <p>
        <strong>CHI TIẾT</strong></p>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
    &nbsp;&nbsp;&nbsp; <strong style="color: #6666FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    THÊM TUYẾN VẬN CHUYỂN</strong><br />
    <br />
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
        ConnectionString="<%$ ConnectionStrings:UPSConnectionString %>" 
        SelectCommand="SELECT [Id_MaQGia], [TenQuocGia] FROM [DanhSachQuocGia]"></asp:SqlDataSource>
    <div id="khung">
        <div class="khungnho">
            <table 0"="" align="center" cellspacing="0" style="width: 100%; ">
                <tr>
                    <th bgcolor="#507DD2" colspan="3" style="color: #FFFFFF">
                        THÊM </th>
                </tr>
                <tr>
                    <td style="width: 375px">
                    </td>
                    <td style="width: 29px">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="right" style="color: #3366FF; font-size: large; width: 375px;">
                        Quốc Gia Đi</td>
                    <td style="width: 29px">
                        &nbsp;</td>
                    <td>
                        <asp:DropDownList ID="DropDownList3" runat="server" 
                            DataSourceID="SqlDataSource2" DataTextField="TenQuocGia" 
                            DataValueField="Id_MaQGia" AutoPostBack="false">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="DropDownList3" ErrorMessage="Chọn Quốc Gia Đi" 
                            ForeColor="Red" InitialValue="Chọn Quốc Gia">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right" style="color: #3366FF; font-size: large; width: 375px;">
                        Quốc Gia Đến</td>
                    <td style="width: 29px; height: 16px">
                    </td>
                    <td style="height: 16px">
                        <asp:DropDownList ID="DropDownList4" runat="server" 
                            DataSourceID="SqlDataSource2" DataTextField="TenQuocGia" 
                            DataValueField="Id_MaQGia" AutoPostBack="false">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="DropDownList4" ErrorMessage="Chọn Quốc Gia Đến" 
                            ForeColor="Red" InitialValue="Chọn Quốc Gia">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right" style="color: #3366FF; font-size: large; width: 375px;">
                        Số Ngày Gởi Nhanh</td>
                    <td style="width: 29px">
                        &nbsp;</td>
                    <td>
                        <asp:TextBox ID="txtNgayNhanh" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                            ControlToValidate="txtNgayNhanh" ErrorMessage="Nhập Số Ngày Gởi Nhanh" 
                            ForeColor="Red">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right" 
                        style="color: #3366FF; font-size: large; height: 27px; width: 375px;">
                        Số Ngày Gởi Bình Thường</td>
                    <td style="width: 29px; height: 27px;">
                    </td>
                    <td style="height: 27px">
                        <asp:TextBox ID="txtNgayThuong" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                            ControlToValidate="txtNgayThuong" 
                            ErrorMessage="Nhập Số Ngày Gởi Bình Thường" ForeColor="Red">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="color: #3399FF; width: 375px;">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                            Font-Underline="True" ForeColor="Red" />
                    </td>
                    <td style="width: 29px">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="right" style="color: #3399FF; width: 375px;">
                        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Trở Về" />
                    </td>
                    <td style="width: 29px">
                        &nbsp;</td>
                    <td>
                        <asp:Button ID="Button1" runat="server" Text="Thêm" onclick="Button1_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</asp:Content>
